<template>
  <div cursor-pointer flex items-center @click="$emit('update:modelValue', !modelValue)">
    <el-icon :size="20">
      <Expand v-if="modelValue" />
      <Fold v-else />
    </el-icon>
  </div>
</template>

<script setup>
defineProps({
  modelValue: {
    type: Boolean,
  },
})
defineEmits(['update:modelValue'])
</script>

<style scoped></style>
